package com.sfac.day02.modules.common.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:config/application.properties")
public class ResourceConfigBean {
    @Value("${spring.resource.path}")
    private String path;
    @Value("${spring.resource.path.pattern}")
    private String pattern;
    @Value("${spring.resource.folder.windows}")
    private String windows;
    @Value("${spring.resource.folder.linux}")
    private String linux;

    public ResourceConfigBean() {
    }

    public void setPath(String path) {
        this.path = path;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public void setWindows(String windows) {
        this.windows = windows;
    }

    public void setLinux(String linux) {
        this.linux = linux;
    }

    public String getPath() {
        return path;
    }

    public String getPattern() {
        return pattern;
    }

    public String getWindows() {
        return windows;
    }

    public String getLinux() {
        return linux;
    }
}